<ion-view ng-init="init()" view-title="{{hosts[data.host]}}" cache-view="false"> <ion-content> <section class="g_main"> <ion-radio ng-repeat="item in hosts" ng-model="data.host" ng-value="{{$index}}">{{item}}</ion-radio> <br> <button class="btn_save" ng-click="save()">保 存</button> <button class="btn_save" ng-click="share1()">分享到朋友圈</button> <button class="btn_save" ng-click="share2()">分享给朋友</button> </section> </ion-content> </ion-view>